package com.learning.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 知识点表
 * </p>
 *
 * @author itRao
 * @since 2024-05-24
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("knowledge")
public class Knowledge implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 对应问题id
     */
    private Long questionId;

    /**
     * 知识点内容
     */
    private String knowledgeContent;


}
